Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace default clause in switch with exhaustive case label #1190

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

sleberknight
Copy link
Member

Since we know the Level enum can only contain specific values, replace the default in the switch statement with a "case TRACE" arm.

Since we know the Level enum can only contain specific values,
replace the default in the switch statement with a "case TRACE"
arm.
@sleberknight sleberknight added the code cleanup Fix issues reported by Sonar or any other code analysis tools label Aug 10, 2024
@sleberknight sleberknight added this to the 4.4.0 milestone Aug 10, 2024
@sleberknight sleberknight self-assigned this Aug 10, 2024
Copy link

@sleberknight sleberknight merged commit 11d2942 into main Aug 10, 2024
5 checks passed
@sleberknight sleberknight deleted the grammar-cleanup-round-6 branch August 10, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Fix issues reported by Sonar or any other code analysis tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant